package com.itheima.d_io_file_input;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream(new File("D:\\javabase_ws\\javaAdvanceProject\\day10_file_methods\\akun.txt"));
//        System.out.println(fis.read());



        int rs;
        byte[] bytes = fis.readAllBytes();
        System.out.println(new String(bytes));

        fis.close();
    }
}
